Exercises on ”ns-2”

نویسنده

  • Chadi BARAKAT
چکیده

The code provided between the lines is not complete. You are asked to add your own code. Consider a simple network composed of only two nodes (S and D), and one link connecting them. The link connecting the two nodes has a speed of 1Mbps, a propagation delay of 100 ms, and a DropTail buffer at its input of very large size. $ns duplex-link $S $D 1Mb 100ms DropTail $ns queue-limit $S $D 10000 We run on node S a Poisson source of traffic. The destination of the packets being node D. Let λ be the intensity of the Poisson traffic in terms of packets/s. Take λ = 1200 packets/s and set the packet size of the Poisson source to a fixed value 100 bytes. Write the code of a simulation of this scenario, then run the simulation for 1000 seconds. The Poisson source can be created as follows: set udp [new Agent/UDP] $ns attach-agent $S $udp set null [new Agent/Null] $ns attach-agent $D $null $ns connect $udp $null set poisson [new Application/Traffic/Poisson] $poisson attach-agent $udp $ns at 0 ''$poisson start'' Don't forget the ns run !

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Substituting Virtual Reality Trainers for Inanimate Box Trainers Does Not Decrease Laparoscopic Skills Acquisition

OBJECTIVES Inanimate and virtual reality box training help in developing basic laparoscopic skills. The lack of tactile feedback and lack of reality may be a detriment when training with virtual reality trainers. This study examined the hypothesis that there is no difference in laparoscopic skills acquisition when virtual reality trainers are partially substituted for inanimate box trainers. ...

متن کامل

Indirect Methods of Estimating Maximal Oxygen Uptake on the Rowing Ergometer

The aim of the present study was to develop an indirect method of estimating maximal oxygen uptake in oarsmen and oarswomen on the rowing ergometer based on both the submaximal exercises and the commonly used in this sport maximal exercise-type test that simulates rowing the distance of 2000 m. Forty-four oarsmen and 27 oarswomen from both the national team and the direct back-up were enrolled ...

متن کامل

Acute effects of three different stretching protocols on the wingate test performance.

The purpose of this study was to examine the acute effects of different stretching exercises on the performance of the traditional Wingate test (WT). Fifteen male participants performed five WT; one for familiarization (FT), and the remaining four after no stretching (NS), static stretching (SS), dynamic stretching (DS), and proprioceptive neuromuscular facilitation (PNF). Stretches were target...

متن کامل

Combined effects of functionally-oriented exercise regimens and nutritional supplementation on both the institutionalised and free-living frail elderly (double-blind, randomised clinical trial)

BACKGROUND Consistently swelling proportion of the frail elderly within a modern society challenges the overstrained public health sector to provide both adequate medical care and comprehensive assistance in their multiple functional deficits of daily living. Easy-to-apply and task-specific ways of addressing this issue are being sought out, with a view to proposing systemic solutions for natio...

متن کامل

Resistance exercise training reduces hypertriglyceridemia in HIV-infected men treated with antiviral therapy.

Hypertriglyceridemia, peripheral insulin resistance, and trunk adiposity are metabolic complications recently recognized in people infected with human immunodeficiency virus (HIV) and treated with highly active antiretroviral therapy (HAART). These complications may respond favorably to exercise training. Using a paired design, we determined whether 16 wk of weight-lifting exercise increased mu...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003